{% load i18n %}

{% if value %}
<span class='badge rounded-pill bg-success'>{% trans 'Yes' %}</span>
{% else %}
<span class='badge rounded-pill bg-danger'>{% trans 'No' %}</span>
{% endif %}
